
#ifndef _PROJECTILE_H
#define _PROJECTILE_H

#include <iostream>
#include <Box2D\Box2D.h>
#include <angelscript.h>

#include <list>

#include "entity.h"


class Projectile : public Entity
{
public:
	
	Projectile();
	//copy constructor
	Projectile(const Entity&);
	static bool Register_With_ScriptEngine();


	

	virtual void Update_Logic( asIScriptContext * );
	virtual void PrepareSpawn(const b2Vec2 &start);
	virtual void OnCollision(const Entity *other_body);
	virtual void Render(sf::RenderWindow * rendow);
	
	virtual bool Get_Config(const std::string& resource_dir);

	

private:
	
	virtual void copyEntity(const Entity *);



};


#endif
